import Vue from 'vue'
import App from './App'
import store from './store/index'
import { fly,http,api } from  './http/index.js'

//提示类型组件
import Tips from './config/tips.js'
Vue.prototype.$tips=Tips

//vuex 挂载到原型上
Vue.prototype.$store=store;

//请求的封装
Vue.prototype.$fly=fly
Vue.prototype.$http=http
Vue.prototype.$api=api

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue(App)
app.$mount()
